package com.jimmyhsu.ecnudaowei.coursetable.sync;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Created by jimmyhsu on 2017/3/29.
 */

public interface UploadCourses {
    @FormUrlEncoded
    @POST("phpprojects/course/uploadCourse.php")
    Call<String> upload(@Field("name") String username,
                        @Field("device_id") String deviceId,
                        @Field("content") String content);
}
